/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ez2find.manager;

import com.ez2find.model.Area;
import com.ez2find.model.Post;
import com.ez2find.model.RegisterUser;
import com.ez2find.model.Site;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Owner
 */
@Local
public interface PostManagerLocal {

    void create(Post post) throws Exception;

    void delete(Post post) throws Exception;

    Post find(long id);

    List<Post> listAll();

    List<Post> postingsUser(RegisterUser registerUser);

    void update(Post post) throws Exception;

    List<Post> getPostsFound(String st, String ft);

    Post getPostingFound(Site site, String type, long id);
    
}
